package com.zhou.springsecurityoauth2.mapper;

import com.zhou.springsecurityoauth2.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


/**
* @author KT00313.3
* @description 针对表【sys_user(用户表)】的数据库操作Mapper
* @createDate 2022-10-08 10:36:44
* @Entity com/zhou/springsecurityoauth2.entity.User
*/
@Component
@Mapper
public interface UserMapper  {


    List<User> findall();

    User findByUserNameUser(@Param("username") String username);

}
